package cn.rokhdelar.ams.management.domain.po;

import cn.rokhdelar.ams.base.BasePo;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 角色表
 * @author rokhdelar
 * @since 2024-10-02
 * @version 1.0.0
 */
@EqualsAndHashCode(callSuper = true)
@TableName(value ="sys_role")
@Data
@Schema(title="角色表")
public class SysRole extends BasePo {

    @Schema(description = "角色名称")
    private String name;

    @Schema(description = "角色描述")
    private String description;

    @Schema(description = "状态，False-不可用，True-正常")
    private Boolean status = Boolean.TRUE;

    @Schema(description = "角色标识符")
    private String roleKey;
}